import axios from "axios";
export default function (params, success, fail) {
    params = {
        storeCode: localStorage.getItem("storeCode"),
        qrCodeList: [],
        giftVOList: ["['1','2'], 111, 111, 2", "['1'], 222, 222, 2"],
        // giftVOList: [],
        ladderIdList: ["333, 444, 555", "888, 999, 000"],
        // ladderIdList: []
    }
    let options = {
        url: window.api.trade_host + "/marketCenter/calOrder",
        method: "post",
        data: params,
        headers: {"sessionId": localStorage.getItem("sessionId")}
    }
    axios(options).then(data => {
        console.log(data);
    }).catch(err => {
        console.log(err);
    });

}